home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Backwash ƒ / Backwash.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.6 KB  |  62 lines  |  [TEXT/MPS ]

  1. #    File:        Backwash.make
  2. #   Target:     Backwash
  3. #   Sources:    Backwash.a Backwash.c Backwash.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for the Backwash printing extension.
  7. #
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    11/11/92 - dmh - Created.
  12. #     1/28/93 - dmh - Cleaned up for a5 seed CD.
  13. #     3/26/93 - dmh - Updated for b1c2.
  14. #     8/24/93 - dmh - Updated for b2.
  15. #    12/18/93 - dmh - Updated for b3.
  16. #     8/24/94 - dmh - Finalized.
  17. #     6/14/96 - cn  - Updated to support MPW Pro #19.
  18. #
  19.  
  20. # Our creator type:
  21.  
  22. kCreator = 'SpIT'
  23.  
  24.  
  25. #    Alias to the paths for the GX interface files.
  26.  
  27. GXLibs            = "{MPW}GXLibraries"
  28. GXCompatIntf    = "{MPW}GX Compatibility Interfaces"
  29.  
  30.  
  31. #    The assembly/C options we want to use.  Make sure you use
  32. #    the -b2 option or your static strings will be treated as
  33. #    global data, and the linker will have a hissy.
  34.  
  35. AsmOptions        = -sym off -i "{CIncludes}" -i {GXLibs} -i {GXCompatIntf} -case obj
  36. CompileOptions    = -sym off -i "{CIncludes}" -i {GXLibs} -i {GXCompatIntf} -mbg full -b2
  37.  
  38.  
  39. #    Alias to the compiled files.
  40.  
  41. OBJECTS = Backwash.a.o Backwash.c.o
  42.  
  43.  
  44. Backwash.a.o ƒ Backwash.make Backwash.a
  45.      Asm {AsmOptions} Backwash.a
  46. Backwash.c.o ƒ Backwash.make Backwash.c
  47.      SC {CompileOptions} Backwash.c
  48.  
  49. Backwash ƒƒ Backwash.make Backwash.r {OBJECTS}
  50.     Link    -ra =resSysHeap,resPurgeable    ∂
  51.             -c {kCreator}                    ∂
  52.             -t 'pext'                        ∂
  53.             -rt pext=0                        ∂
  54.             -sg BackwashMPW                    ∂
  55.             -m EntryPoint                    ∂
  56.             {OBJECTS}                        ∂
  57.             "{Libraries}"Interface.o        ∂
  58.             "{Libraries}"MacRuntime.o        ∂
  59.             -o Backwash;
  60.     SetFile Backwash -a iB;
  61.     Rez -i "{CIncludes}" -rd -o Backwash Backwash.r -append 
  62.